using ICSharpCode.SharpZipLib.Core;
using System;
namespace Salient.SharpZipLib.Core
{
	public class IsolatedPathFilter : IScanFilter
	{
		private readonly NameFilter nameFilter_;
		public IsolatedPathFilter(string filter)
		{
			this.nameFilter_ = new NameFilter(filter);
		}
		public virtual bool IsMatch(string name)
		{
			bool result = false;
			if (name != null)
			{
				result = this.nameFilter_.IsMatch(name);
			}
			return result;
		}
	}
}
